//
//  PRTPlayer.h
//  Pirates
//
//  Created by goofara on 4/4/14.
//  Copyright (c) 2014 Training Camp. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "cocos2d-ui.h"
#import "PRTMapMovementDelegate.h"
#import "PRTPlayerStats.h"

@interface PRTPlayer : NSObject

@property (nonatomic) CGPoint playerPosition;
@property (nonatomic) float playerRotation;
@property (nonatomic) CGPoint playerOffsetFromOrigin;
@property (nonatomic) CCSprite * playerImage;
@property (nonatomic) float speed;
@property (nonatomic) PRTPlayerStats * playerStats;
@property (weak, nonatomic) id<PRTMapMovementDelegate> delegate;

-(id) initWithPosition:(CGPoint) position rotation:(float) rotation andSprite:(CCSprite *) sprite;
-(CGPoint) move;
-(void) steerWithDirectionalAngle:(CGFloat) angle;
-(void) increaseSpeed;
-(void) decreaseSpeed;
@end
